<div id="maincontent">

<%= render :partial => "shared_common_files/data_area_help_bar" %>

<h2>Login</h2>
<h5>Editing user '<%= @user.login %>'</h5>	
<hr>
  
  
    <% for name in [:notice, :warning, :message] %>
    <% if flash[name] %>
      <%= "<div class='message-fatal'> #{flash[name]} </div>" %>
    <% end %>
  <% end %>
  
<div class="genericform">

  <%= error_messages_for 'user' %>

  <% if authorized?(:action => "edit_user") %>

    <%= start_form_tag :action => 'edit_user', :id => @user %>
      <%= render_partial 'edit', :user => @user, :submit => true %>
    <%= end_form_tag %>

  <% end %>
<br>

  <% if authorized?(:action => "change_password_for_user") %>

    <%= start_form_tag :action => 'change_password_for_user', :id => @user %>
      <%= hidden_field_tag "back_to", "edit" %>
      <%= render_partial 'password', :submit => true %>
    <%= end_form_tag %>

  <% end %>

 
  
</div>

